/*
 * @Author: panda-hbd 1511539537@qq.com
 * @Date: 2022-11-20 10:44:50
 * @LastEditors: 姚贤通 10254465+yao-xiantong@user.noreply.gitee.com
 * @LastEditTime: 2022-11-22 11:41:59
 * @FilePath: \text-online-system\src\api\question.js
 * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
 */
import http from '../utils/request.js'
import qs from 'qs'

//向外暴露这个整个question表的api
export default {

    getAllQuestionByPaperIdnClassPaperId(params) {

        return http.get("/question/getAllQuestionByPaperIdnClassPaperId?" + qs.stringify(params))
    },

    //教师创建试卷点击添加习题按钮
    createNewQuestion(){
        
    },
    getAllQuestionsByPaperId(params){
        return http.get("/question/getAllQuestionsByPaperId?" + qs.stringify(params))
    }

}